From c4fabd1b3d55b9789aa231fe45e6438d1154fd72 Mon Sep 17 00:00:00 2001 From: "awilliam@xenbuild.aw" Date: Wed, 24 May 2006 09:59:04 -0600 Subject: [PATCH] [IA64] fix dirty_bit in xenivt.S fix dirty_bit in linux-2.6-xen-sparse/arch/ia64/xen/xenivt.S there was itc.d left which wasn't para-virtualized. Signed-off-by: Isaku Yamahata --- linux-2.6-xen-sparse/arch/ia64/xen/xenivt.S | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/linux-2.6-xen-sparse/arch/ia64/xen/xenivt.S b/linux-2.6-xen-sparse/arch/ia64/xen/xenivt.S index 6e15c0e64d..4bf6600a56 100644 --- a/linux-2.6-xen-sparse/arch/ia64/xen/xenivt.S +++ b/linux-2.6-xen-sparse/arch/ia64/xen/xenivt.S @@ -799,7 +799,16 @@ ENTRY(dirty_bit) ;; (p6) cmp.eq p6,p7=r26,r18 // Only compare if page is present ;; +#ifdef CONFIG_XEN +(p6) mov r18=r8 +(p6) mov r8=r25 + ;; +(p6) XEN_HYPER_ITC_D + ;; +(p6) mov r8=r18 +#else (p6) itc.d r25 // install updated PTE +#endif ;; /* * Tell the assemblers dependency-violation checker that the above "itc" instructions -- 2.30.2